#include<iostream>
using namespace std;
void installmain(void) {
	system("color f1");
	system("cls");
	cout<<"*********************Please choose version *********************"<<endl;
	cout<<"[1]Office 2010 "<<endl;
	cout<<"[2]Office 2019 "<<endl;
	int n=0,x=0;
	cout<<"Enter:";
	cin>>n;
	
	switch(n){
		case 2:{
			system("cls");
			cout<<"*********************Please choose version *********************"<<endl;
			cout<<"[1]Office Enterprise Edition "<<endl;
			cout<<"[2]Office Family and Student Edition "<<endl;
			cout<<"[3]Office Personal Edition "<<endl;
			cout<<"Enter:";
			cin>>x;
			break;
			}
			case 1:system("setup2007.bat");break;
		}
	switch(x){
		case 1:system("setup.exe /configure configure.xml");break;
			case 3:system("setup.exe /configure configure2.xml");break;
				case 2:system("setup.exe /configure configure3.xml");break;
					
}
}
